package apijson.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 数据库表映射名称
 * @TableName sys_m_table
 */
@TableName(value ="sys_m_table")
@Data
public class SysMTable implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 接口表名
     */
    @TableField(value = "table_name")
    private String tableName;

    /**
     * 真实表名
     */
    @TableField(value = "actual_table_name")
    private String actualTableName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}